package com.zmn.oms.services.impl.chan;

import com.zmn.oms.model.entity.chan.FacadeMap;
import com.zmn.oms.persistence.interfaces.chan.FacadeMapDAO;
import com.zmn.oms.services.interfaces.chan.FacadeMapService;

import java.util.List;

/**
 * 类描述：渠道门户配置
 *  TODO -lhl 渠道门户配置，暂未启用
 *
 * @author lhl
 * @date 2020-11-26 21:33:25
 */
//@Service("facadeMapService")
public class FacadeMapServiceImpl implements FacadeMapService {

    //@Resource
    private FacadeMapDAO facadeMapDAO;

    /**
     * 查询通过指定渠道接入口接入的渠道
     * @param facadeId
     * @return
     */
    @Override
    public List<FacadeMap> listByFacadeId(Integer facadeId) {
        if (facadeId == null) {
            return null;
        }
        return facadeMapDAO.listByFacadeId(facadeId);
    }
}
